package model;

import java.io.Serializable;
import java.util.Date;

public class User implements Serializable{

	/**
	 * 
	 */
	private static final long serialVersionUID = 8416269240952072380L;
	private String username;
	private String name;
	private String surname;
	private Date birthdate;
	private String email;
	private String password;
	private String password2;
	
	public User(){
		super();
	}
		
	public User(String uname, String name, String sname, Date birthDate,
			String email, String pwd) {
		super();
		this.username=uname;
		this.name=name;
		this.surname=sname;
		this.birthdate=birthDate;
		this.email=email;
		this.password=pwd;
	}

	public String getUsername() {
		return username;
	}
	public void setUsername(String username) {
		this.username = username;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getSurname() {
		return surname;
	}
	public void setSurname(String surname) {
		this.surname = surname;
	}
	public Date getBirthdate() {
		return birthdate;
	}
	public void setBirthdate(Date birthdate) {
		this.birthdate = birthdate;
	}
	public String getEmail() {
		return email;
	}
	public void setEmail(String email) {
		this.email = email;
	}
	public String getPassword() {
		return password;
	}
	public void setPassword(String password) {
		this.password = password;
	}
	public String getPassword2() {
		return password2;
	}
	public void setPassword2(String password2) {
		this.password2 = password2;
	}
	
}
